
import java.util.Scanner;

class JPNEU {

    public static void main(String[] args) {
        Scanner entrada = new Scanner(System.in);
        int N = entrada.nextInt();
        int M = entrada.nextInt();
        
        System.out.println(N-M);
               
    }
}
